import MaterialCategory from "@/handle/data/name/MaterialCategory";

export function getEntity(entityName: string): any {
  switch (entityName) {
    case "MaterialCategory": {
      const entity = new MaterialCategory();
      return entity;
    }
    default: {
      console.log("尚未定义" + entityName + "实体类");
      break;
    }
  }
}
